package Dao;

import Dto.CommentDto;
import entity.Comment;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author Su
 * @Date 2025/5/8 9:32
 * @Version 1.0 （版本号）
 */
public interface CommentDao {

    boolean addComment(Comment comment) throws SQLException;

    CommentDto getCommentById(Integer parentId) throws SQLException;

    List<Comment> getComments(CommentDto commentReq) throws SQLException ;
}
